package com.hyfd.controller.mp;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.hyfd.controller.sys.BaseController;
import com.hyfd.service.mp.ProviderBillDispatcherSer;

@Controller
//@Scope("prototype") //开启非单例模式 用于并发控制
public class ProviderBillDispatcherCtl extends BaseController{
	
	@Autowired
	ProviderBillDispatcherSer providerBillDispatcherSer;

	/**
	 * @功能描述：	
	 *
	 * @作者：zhangpj		@创建时间：2017年5月15日
	 * @param req
	 * @return
	 */
	@GetMapping("providerBillDispatcherToProvinceCode")
	@ResponseBody
	public String providerBillDispatcherToProvinceCode(HttpServletRequest req){
		return providerBillDispatcherSer.getProviderBillDispatcherToProvinceCode(req);
	}
}
